/* 头部背景 */

.square-wrapper {
    height: 450px;
    top: 200px;
    background: linear-gradient(to bottom right, #000000 0%, #888888 100%);            
}

/* 头部信息 */

.user-face-area {
    width: 1200px;
    height: 200px;
    position: absolute;
    top: 40px;
    text-align:center;
    display: inline-block;
}

@media (min-width: 1200px) {
  .user-face-area {
    margin: 0 calc(50vw - 600px);
  }
}

@media (max-width: 1200px) {
  .user-face-area {
    margin: 0;
  }
}       

.user-face-area img {
    vertical-align: middle;
}

.user-face-img-area {      
    display: inline-block;
    vertical-align: middle;
}

#face {
    border: 3px solid #fff;
    border-radius: 200px;
    box-shadow: rgba(0,0,0,0.8) 0px 3px 10px;
    user-select:none;
}

#user-name {
    margin-top: 15px;
    font-size: 25px;
    padding-bottom: 2px;
    border-bottom: 1px solid; 
}

#user-desc {
    margin-top: 5px;
}

/* 翅膀特效 */

@keyframes left-wing-float {
    0%   { padding-right: 0; }
    50%  { padding-right: 50px; }
    100% { padding-right: 0; }
}

@keyframes right-wing-float {
    0%   { padding-left: 0; }
    50%  { padding-left: 50px; }
    100% { padding-left: 0; }
}

#left-wing, #right-wing {
    user-select:none;
    animation-duration: 3s;
    animation-iteration-count: infinite;            
}

#left-wing { animation-name: left-wing-float; }

#right-wing { animation-name: right-wing-float; }
  
/* 滚动条 */

.nano { 
    width: 100%; 
    height: 100%; 
    min-width: 1200px;
}

.nano .nano-pane   { 
    background: #888; 
    width: 8px; 
}

.nano .nano-slider { 
    background: #111; 
}

/* 内容 */

.list-area {
    width: 1200px;
    margin-top: 460px;
 }

/* 保持宽度 */

@media (min-width: 1200px) {
  .card-area {
    margin: 35px calc(50vw - 600px) 35px calc(50vw - 600px);
  }
  .list-area {
    margin-left: calc(50vw - 600px);
    margin-right: calc(50vw - 600px);     
  }
}

@media (max-width: 1200px) {
  .card-area  {
    margin: 35px 0;
  }
  .list-area {
    margin-left: 0;
    margin-right: 0;
  }
}                   

/* 导航栏区域 */

.card-area {
    width: 1200px;
    position: absolute;
    top: 350px;
    text-align: center;
    z-index: 1001;
}

/* 彩带导航栏 */

.ribbon {
    display:inline-block;
}

.ribbon:after, .ribbon:before {
    margin-top:0.5em;
    content: "";
    float:left;
    border:1.5em solid #fff;
}

.ribbon:after {
    border-right-color:transparent;
}

.ribbon:before {
    border-left-color:transparent;
}

.ribbon a:link, .ribbon a:visited { 
    color:#000;
    text-decoration:none;
    float:left;
    height:3.5em;
    overflow:hidden;
}

.ribbon span {
    width: 8em;
    background:#fff;
    display:inline-block;
    line-height:3em;
    padding:0 1em;
    margin-top:0.5em;
    position:relative;
    transition: background-color 0.2s, margin-top 0.2s;
    font-weight: bold;

}

.ribbon a:hover span {
    background:#FFD204;
    margin-top:0;
}

.ribbon span:before {
    content: "";
    position:absolute;
    top:3em;
    left:0;
    border-right:0.5em solid #d8ad42;
    border-bottom:0.5em solid #fff;
}

.ribbon span:after {
    content: "";
    position:absolute;
    top:3em;
    right:0;
    border-left:0.5em solid #d8ad42;
    border-bottom:0.5em solid #fff;
}

/* 内容区域 */

.list-item {
    width: 100%;
    min-height: 200px;
    margin-top: 25px;
    color: #000;
    font-family: 微软雅黑;
    display: flex;   
}

.list-item:nth-child(1) {
    margin-top: 0;
}

/* 内容区域 左边栏 */

.list-item-aside {
    position: relative;
}

.list-item-aside img {
    width: 240px;
    margin-right: 8px;
    border-radius: 3px;
    box-shadow: 1px 1px 6px rgba(0,0,0,0.3);
}

/* 内容区域 左边栏 文章元数据 */

.list-item-meta {
    margin-top: 20px;
    text-align: right;
    font-size: 25px;
    padding-right: 15px;
}

.meta-date, .meta-time, .meta-week {
    margin-top: 5px;
}

.meta-long {
    text-align: right;
    font-size: 15px;
    font-style: italic;
    position: absolute;
    bottom: 5px;
    right: 15px;
} 

.meta-long a {
    padding: 0 5px;
    text-decoration: none;
    transition: font-size 0.3s;
    color: #2196f3;
}

.meta-long a:hover {
    text-decoration: underline;
}

.meta-long a:visited {
    color: #2196f3;
}

/* 内容区域 主体 */

.list-item-content {
    flex: 1;
    position: relative;
    min-height: 550px;
    border-radius: 3px;
    box-shadow: 2px 2px 12px rgba(0,0,0,0.3);
    overflow: hidden;
    transition: all 1s ease-in-out;
}

/* 内容区域 标题 */

.article-title {
    margin: 5px 15px;
    padding-bottom: 5px;
    font-size: 25px;
    font-weight: bold;
    text-indent: 15px;
    border-bottom: 1px solid #888888;                  
}

/* 内容区域 tags */

.article-tags {
    margin: 10px 30px 0 30px;
    text-align: right;
}

.article-tags a {
    display: inline-block;
    position: relative;
    margin-left: 1em;
    border-radius: 0;
    padding: 0px 10px;
    background: #ccc;
    color: #000;
    font-weight: bold;
    font-size: 0.5em;
    text-decoration: none;
    line-height: 1.5;
}

.article-tags a:hover {
    background: #000;
    color: #ccc;                    
}

.article-tags a:before {
    position: absolute;
    top: 0;
    left: -1.5em;
    height: 0em;
    width: 0em;                    
    content: " ";
    border: transparent 0.75em solid;
    border-right-color: #ccc;
}

.article-tags a:hover:before {
    border-right-color: #000;
}

.article-tags a:after {
    position: absolute;
    width: 0.5em;
    height: 0.5em;
    top: 0.5em;
    left: -0.125em;
    border-radius: 0.25em;                    
    content: " ";
    background: #fff;
}

/* 内容区域 文章 */

.article {
    padding: 15px;
}

/* 内容区域 下拉按钮 */

.article-cover {
    width: 100%;
    height: 70px; 
    position: absolute;
    top: 480px;
    background: rgba(0,0,0,0.6);
    transition: background 0.5s;
}

.article-cover-at-end {
    width: 100%;
    height: 70px; 
    position: absolute;
    bottom: 0;
    background: rgba(0,0,0,0);
    transition: background 0.5s;
}

.article-cover:hover {
    background: rgba(0,0,0,0);
    transition: background 1s;
    cursor: pointer;
}    

.article-cover-at-end:hover {
    background: rgba(0,0,0,0.6);
    transition: background 1s;
    cursor: pointer;                    
}

.article-cover:after, .article-cover-at-end:after {
    content: url(../img/arrow_down.svg);
    width: 50px;
    height: 50px;
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    margin: 0 auto;
    user-select:none;
}    

.article-cover-at-end:after {
    content: url(../img/arrow_up.svg);
    visibility: hidden;
}

.article-cover:hover:after, .article-cover-at-end:hover:after {
    animation-name: arrow-float;  
    animation-duration: 2s;
    animation-iteration-count: infinite; 
    animation-timing-function: linear;
}      

.article-cover-at-end:hover:after {
    visibility: visible;
}

/* 下拉按钮hover动画 */

@keyframes arrow-float {
    0%  { top: 10px; }
    25%  { top: 20px; }
    50%  { top: 10px; }
    75%  { top: 0; }
    100% { top: 10px; }  
}

/* 内容部分 结束分割线 */

.article-end {
    margin: 5px 15px 15px 15px;
}

/* 加载更多按钮 */

.load-target {
    position: relative;
    min-height: 2em;
    line-height: 2em;
    margin-left: 248px;
    margin-top: 5px;
    text-align: center;
    color: #9e9e9e;
}  

.load-target-text {
    display: inline-block;
    position: absolute;
    right: 5px;
    font-size: 20px;
    cursor: pointer;
}

.load-target-text:hover {
    color: #000;
}

.load-target canvas {
    transform: scale(0.5);
    display: none;
}

footer {
    width: 100%;
    min-width: 1200px;
    height: 350px;
    background: #888888;
    margin-top: 15px;
}

/* 时间轴 */

.timeline { 
    width:100%;
    margin: 0 auto;
    padding-top: 10px;
    background: #F0F0F0; 
    box-shadow: 0 5px 20px #CCCCCC;
    color: black;
}  

.timeline ul li {
    list-style: none;
} 

.timeline-box {
    width: 940px;
    margin: 18px auto 0 auto;
}       

.event_year {
    width: 60px;
    margin-top: 10px;
    border-bottom: 2px solid #DDD;
    text-align: center;
    float: left;
}

.event_year li {
    height: 40px;
    margin-bottom: 1px;
    line-height: 40px;
    box-sizing: content-box;
    background: #FFF;
    font-size: 18px;
    font-family: 'Source Sans Pro', sans-serif;
    color: #828282;
}

.event_year label[for] { 
    cursor: pointer;
}

.event_year li.current {
    width: 61px;
    padding-left: 9px;
    text-align: left;
    background: #0066ff url('../img/timeline-pic.png') 60px 0 no-repeat;
    color: #FFF;
}

.event_list {
    width: 850px;
    margin: 10px 0 20px 0;
    float: right;
    background: url('../img/timeline-point.png') 139px 0 repeat-y;
}

.event_list h3 {
    height: 38px;
    margin: 0 0 10px 132px;
    padding-left: 25px;
    line-height: 30px;
    font-size: 24px;
    font-family: Georgia;
    font-style: italic;
    background: url('../img/timeline-pic.png') 0 -45px no-repeat;
    color: #0066ff;
}

.event_list li {
    background: url('../img/timeline-pic.png') 136px -80px no-repeat;
}

.event_list li span {
    width: 127px;
    margin-top: 10px;
    display: block;
    float: left;
    text-align: right;
}

.event_list li p {
    width: 680px;
    margin-left: 24px;
    padding-left: 10px;
    line-height: 25px;
    display: inline-block;
    background: url('../img/timeline-pic.png') -21px 0 no-repeat;
}

.event_list li p span {
    width: 650px;
    margin: 0;
    padding: 10px 15px;
    border-bottom: 2px solid #DDD;
    text-align: left;
    background: #FFF;
}    

.clearfix:after {
    content: " ";
    display: block;
    clear: both;
}

             